<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp" %>
<script type="text/javascript" src="/manage/assert/plugin/area/area.js" charset="utf-8"></script>

<script type="text/javascript">

</script>


<div>
    <form id="manage_alarm_parment_editform"
          action="${pageContext.request.contextPath}/manage/demo/equipment/${save}.html"
          method="post">
        <jodd:form bean="org" scope="request">
            <input type="hidden" name="id" value="${alarm.id}">
            <table class="tableForm" width="100%">
                <tr>
                    <th>设备：</th>
                    <td>
                        <select name="equipment" editable="false" style="height:27px;" panelHeight="auto" class="easyui-combobox">
                            <c:forEach items="${equipments}" var="e">
                                <c:if test="${e.value==alarm.equipmenttype}">
                                    <option value="${e.value}_${e.title}" selected>${e.title}</option>
                                </c:if>
                                <c:if test="${e.value!=alarm.equipmenttype}">
                                    <option value="${e.value}_${e.title}">${e.title}</option>
                                </c:if>
                            </c:forEach>
                        </select>
                    </td>
                </tr>

                <tr>
                    <th>参数名：</th>
                    <td><input type="text" name="parameter" value="${alarm.parameter}" size="48" class="easyui-validatebox text" validType="byteLength[1,32]"
                               data-options="required:true"/></td>
                </tr>

            </table>
        </jodd:form>
    </form>
</div>
